package demo4;

// 抽象命令类（同事类：所有操作的抽象）
public abstract class Command extends Colleague {
    public Command(EditorMediator mediator) {
        super(mediator);
    }

    public abstract void execute();
}